﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Power.Models
{
    /// <summary>
    /// 缺陷管段表
    /// </summary>
    public class DefectPipnetSegTableData
    {
        /// <summary>
        /// 缺陷类型
        /// </summary>
        public string DefectType { get; set; }
        
        /// <summary>
        /// 子项
        /// </summary>
        public List<DefectPipnetSegTableBaseValue> BaseValues { get; set; }
    }

    public class DefectPipnetSegTableBaseValue
    {
        /// <summary>
        /// 缺陷名称
        /// </summary>
        public string DefectName { get; set; }
        /// <summary>
        /// 子项
        /// </summary>
        public List<DefectPipnetSegTableLevelValue> LevelValues { get; set; }
    }

    public class DefectPipnetSegTableLevelValue
    {
        /// <summary>
        /// 缺陷等级
        /// </summary>
        public string DefectLev { get; set; }
        /// <summary>
        /// 缺陷管段
        /// </summary>
        public string PipeSections { get; set; }
        /// <summary>
        /// 管段数量
        /// </summary>
        public int PipeNum { get; set; }
    }

}
